package cn.edu.cqyz.wisdom.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 问答收藏表
 * </p>
 *
 * @author CDHong.it
 * @since 2024-12-18
 */
@Getter
@Setter
@TableName("tbl_collect")
public class Collect implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 收藏ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * ⽤户ID
     */
    @TableField("user_id")
    private Integer userId;

    /**
     * 会话问题ID
     */
    @TableField("session_qa_id")
    private Integer sessionQaId;
}
